<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="ru">
<head>
<!-- Generated by javadoc (1.8.0_172) on Wed Dec 29 21:10:36 MSK 2021 -->
<title>Client</title>
<meta name="date" content="2021-12-29">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
    try {
        if (location.href.indexOf('is-external=true') == -1) {
            parent.document.title="Client";
        }
    }
    catch(err) {
    }
//-->
var methods = {"i0":10,"i1":9,"i2":9,"i3":10,"i4":10,"i5":10,"i6":10,"i7":41,"i8":41,"i9":41};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../org/drinkless/td/libcore/telegram/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Class</li>
<li><a href="../../../../../org/drinkless/td/libcore/telegram/Client.ExceptionHandler.html" title="interface in org.drinkless.td.libcore.telegram"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/drinkless/td/libcore/telegram/Client.html" target="_top">Frames</a></li>
<li><a href="Client.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.drinkless.td.libcore.telegram</div>
<h2 title="Class Client" class="title">Class Client</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.drinkless.td.libcore.telegram.Client</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.lang.Runnable</dd>
</dl>
<hr>
<br>
<pre>public final class <span class="typeNameLabel">Client</span>
extends java.lang.Object
implements java.lang.Runnable</pre>
<div class="block">Main class for interaction with the TDLib.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!--   -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static interface&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/drinkless/td/libcore/telegram/Client.ExceptionHandler.html" title="interface in org.drinkless.td.libcore.telegram">Client.ExceptionHandler</a></span></code>
<div class="block">Interface for handler of exceptions thrown while invoking ResultHandler.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static interface&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/drinkless/td/libcore/telegram/Client.ResultHandler.html" title="interface in org.drinkless.td.libcore.telegram">Client.ResultHandler</a></span></code>
<div class="block">Interface for handler for results of queries to TDLib and incoming updates from TDLib.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/drinkless/td/libcore/telegram/Client.html#close--">close</a></span>()</code>
<div class="block">Closes Client.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/drinkless/td/libcore/telegram/Client.html" title="class in org.drinkless.td.libcore.telegram">Client</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/drinkless/td/libcore/telegram/Client.html#create-org.drinkless.td.libcore.telegram.Client.ResultHandler-org.drinkless.td.libcore.telegram.Client.ExceptionHandler-org.drinkless.td.libcore.telegram.Client.ExceptionHandler-">create</a></span>(<a href="../../../../../org/drinkless/td/libcore/telegram/Client.ResultHandler.html" title="interface in org.drinkless.td.libcore.telegram">Client.ResultHandler</a>&nbsp;updateHandler,
      <a href="../../../../../org/drinkless/td/libcore/telegram/Client.ExceptionHandler.html" title="interface in org.drinkless.td.libcore.telegram">Client.ExceptionHandler</a>&nbsp;updateExceptionHandler,
      <a href="../../../../../org/drinkless/td/libcore/telegram/Client.ExceptionHandler.html" title="interface in org.drinkless.td.libcore.telegram">Client.ExceptionHandler</a>&nbsp;defaultExceptionHandler)</code>
<div class="block">Creates new Client.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/drinkless/td/libcore/telegram/TdApi.Object.html" title="class in org.drinkless.td.libcore.telegram">TdApi.Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/drinkless/td/libcore/telegram/Client.html#execute-org.drinkless.td.libcore.telegram.TdApi.Function-">execute</a></span>(<a href="../../../../../org/drinkless/td/libcore/telegram/TdApi.Function.html" title="class in org.drinkless.td.libcore.telegram">TdApi.Function</a>&nbsp;query)</code>
<div class="block">Synchronously executes a TDLib request.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/drinkless/td/libcore/telegram/Client.html#finalize--">finalize</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/drinkless/td/libcore/telegram/Client.html#run--">run</a></span>()</code>
<div class="block">Overridden method from Runnable, do not call it directly.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/drinkless/td/libcore/telegram/Client.html#send-org.drinkless.td.libcore.telegram.TdApi.Function-org.drinkless.td.libcore.telegram.Client.ResultHandler-">send</a></span>(<a href="../../../../../org/drinkless/td/libcore/telegram/TdApi.Function.html" title="class in org.drinkless.td.libcore.telegram">TdApi.Function</a>&nbsp;query,
    <a href="../../../../../org/drinkless/td/libcore/telegram/Client.ResultHandler.html" title="interface in org.drinkless.td.libcore.telegram">Client.ResultHandler</a>&nbsp;resultHandler)</code>
<div class="block">Sends a request to the TDLib with an empty ExceptionHandler.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/drinkless/td/libcore/telegram/Client.html#send-org.drinkless.td.libcore.telegram.TdApi.Function-org.drinkless.td.libcore.telegram.Client.ResultHandler-org.drinkless.td.libcore.telegram.Client.ExceptionHandler-">send</a></span>(<a href="../../../../../org/drinkless/td/libcore/telegram/TdApi.Function.html" title="class in org.drinkless.td.libcore.telegram">TdApi.Function</a>&nbsp;query,
    <a href="../../../../../org/drinkless/td/libcore/telegram/Client.ResultHandler.html" title="interface in org.drinkless.td.libcore.telegram">Client.ResultHandler</a>&nbsp;resultHandler,
    <a href="../../../../../org/drinkless/td/libcore/telegram/Client.ExceptionHandler.html" title="interface in org.drinkless.td.libcore.telegram">Client.ExceptionHandler</a>&nbsp;exceptionHandler)</code>
<div class="block">Sends a request to the TDLib.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/drinkless/td/libcore/telegram/Client.html#setLogFilePath-java.lang.String-">setLogFilePath</a></span>(java.lang.String&nbsp;filePath)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">As of TDLib 1.4.0 in favor of <a href="../../../../../org/drinkless/td/libcore/telegram/TdApi.SetLogStream.html" title="class in org.drinkless.td.libcore.telegram"><code>TdApi.SetLogStream</code></a>, to be removed in the future.</span></div>
</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/drinkless/td/libcore/telegram/Client.html#setLogMaxFileSize-long-">setLogMaxFileSize</a></span>(long&nbsp;maxFileSize)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">As of TDLib 1.4.0 in favor of <a href="../../../../../org/drinkless/td/libcore/telegram/TdApi.SetLogStream.html" title="class in org.drinkless.td.libcore.telegram"><code>TdApi.SetLogStream</code></a>, to be removed in the future.</span></div>
</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/drinkless/td/libcore/telegram/Client.html#setLogVerbosityLevel-int-">setLogVerbosityLevel</a></span>(int&nbsp;newLogVerbosity)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">As of TDLib 1.4.0 in favor of <a href="../../../../../org/drinkless/td/libcore/telegram/TdApi.SetLogVerbosityLevel.html" title="class in org.drinkless.td.libcore.telegram"><code>TdApi.SetLogVerbosityLevel</code></a>, to be removed in the future.</span></div>
</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="send-org.drinkless.td.libcore.telegram.TdApi.Function-org.drinkless.td.libcore.telegram.Client.ResultHandler-org.drinkless.td.libcore.telegram.Client.ExceptionHandler-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>send</h4>
<pre>public&nbsp;void&nbsp;send(<a href="../../../../../org/drinkless/td/libcore/telegram/TdApi.Function.html" title="class in org.drinkless.td.libcore.telegram">TdApi.Function</a>&nbsp;query,
                 <a href="../../../../../org/drinkless/td/libcore/telegram/Client.ResultHandler.html" title="interface in org.drinkless.td.libcore.telegram">Client.ResultHandler</a>&nbsp;resultHandler,
                 <a href="../../../../../org/drinkless/td/libcore/telegram/Client.ExceptionHandler.html" title="interface in org.drinkless.td.libcore.telegram">Client.ExceptionHandler</a>&nbsp;exceptionHandler)</pre>
<div class="block">Sends a request to the TDLib.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>query</code> - Object representing a query to the TDLib.</dd>
<dd><code>resultHandler</code> - Result handler with onResult method which will be called with result
                         of the query or with TdApi.Error as parameter. If it is null, nothing
                         will be called.</dd>
<dd><code>exceptionHandler</code> - Exception handler with onException method which will be called on
                         exception thrown from resultHandler. If it is null, then
                         defaultExceptionHandler will be called.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.NullPointerException</code> - if query is null.</dd>
</dl>
</li>
</ul>
<a name="send-org.drinkless.td.libcore.telegram.TdApi.Function-org.drinkless.td.libcore.telegram.Client.ResultHandler-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>send</h4>
<pre>public&nbsp;void&nbsp;send(<a href="../../../../../org/drinkless/td/libcore/telegram/TdApi.Function.html" title="class in org.drinkless.td.libcore.telegram">TdApi.Function</a>&nbsp;query,
                 <a href="../../../../../org/drinkless/td/libcore/telegram/Client.ResultHandler.html" title="interface in org.drinkless.td.libcore.telegram">Client.ResultHandler</a>&nbsp;resultHandler)</pre>
<div class="block">Sends a request to the TDLib with an empty ExceptionHandler.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>query</code> - Object representing a query to the TDLib.</dd>
<dd><code>resultHandler</code> - Result handler with onResult method which will be called with result
                      of the query or with TdApi.Error as parameter. If it is null, then
                      defaultExceptionHandler will be called.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.NullPointerException</code> - if query is null.</dd>
</dl>
</li>
</ul>
<a name="execute-org.drinkless.td.libcore.telegram.TdApi.Function-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>execute</h4>
<pre>public static&nbsp;<a href="../../../../../org/drinkless/td/libcore/telegram/TdApi.Object.html" title="class in org.drinkless.td.libcore.telegram">TdApi.Object</a>&nbsp;execute(<a href="../../../../../org/drinkless/td/libcore/telegram/TdApi.Function.html" title="class in org.drinkless.td.libcore.telegram">TdApi.Function</a>&nbsp;query)</pre>
<div class="block">Synchronously executes a TDLib request. Only a few marked accordingly requests can be executed synchronously.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>query</code> - Object representing a query to the TDLib.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>request result.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.NullPointerException</code> - if query is null.</dd>
</dl>
</li>
</ul>
<a name="run--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>run</h4>
<pre>public&nbsp;void&nbsp;run()</pre>
<div class="block">Overridden method from Runnable, do not call it directly.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>run</code>&nbsp;in interface&nbsp;<code>java.lang.Runnable</code></dd>
</dl>
</li>
</ul>
<a name="create-org.drinkless.td.libcore.telegram.Client.ResultHandler-org.drinkless.td.libcore.telegram.Client.ExceptionHandler-org.drinkless.td.libcore.telegram.Client.ExceptionHandler-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>create</h4>
<pre>public static&nbsp;<a href="../../../../../org/drinkless/td/libcore/telegram/Client.html" title="class in org.drinkless.td.libcore.telegram">Client</a>&nbsp;create(<a href="../../../../../org/drinkless/td/libcore/telegram/Client.ResultHandler.html" title="interface in org.drinkless.td.libcore.telegram">Client.ResultHandler</a>&nbsp;updateHandler,
                            <a href="../../../../../org/drinkless/td/libcore/telegram/Client.ExceptionHandler.html" title="interface in org.drinkless.td.libcore.telegram">Client.ExceptionHandler</a>&nbsp;updateExceptionHandler,
                            <a href="../../../../../org/drinkless/td/libcore/telegram/Client.ExceptionHandler.html" title="interface in org.drinkless.td.libcore.telegram">Client.ExceptionHandler</a>&nbsp;defaultExceptionHandler)</pre>
<div class="block">Creates new Client.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>updateHandler</code> - Handler for incoming updates.</dd>
<dd><code>updateExceptionHandler</code> - Handler for exceptions thrown from updateHandler. If it is null, exceptions will be iggnored.</dd>
<dd><code>defaultExceptionHandler</code> - Default handler for exceptions thrown from all ResultHandler. If it is null, exceptions will be iggnored.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>created Client</dd>
</dl>
</li>
</ul>
<a name="setLogVerbosityLevel-int-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLogVerbosityLevel</h4>
<pre>@Deprecated
public static&nbsp;void&nbsp;setLogVerbosityLevel(int&nbsp;newLogVerbosity)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">As of TDLib 1.4.0 in favor of <a href="../../../../../org/drinkless/td/libcore/telegram/TdApi.SetLogVerbosityLevel.html" title="class in org.drinkless.td.libcore.telegram"><code>TdApi.SetLogVerbosityLevel</code></a>, to be removed in the future.</span></div>
<div class="block">Changes TDLib log verbosity.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>newLogVerbosity</code> - New value of log verbosity. Must be non-negative.
                        Value 0 corresponds to android.util.Log.ASSERT,
                        value 1 corresponds to android.util.Log.ERROR,
                        value 2 corresponds to android.util.Log.WARNING,
                        value 3 corresponds to android.util.Log.INFO,
                        value 4 corresponds to android.util.Log.DEBUG,
                        value 5 corresponds to android.util.Log.VERBOSE,
                        value greater than 5 can be used to enable even more logging.
                        Default value of the log verbosity is 5.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if newLogVerbosity is negative.</dd>
</dl>
</li>
</ul>
<a name="setLogFilePath-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLogFilePath</h4>
<pre>@Deprecated
public static&nbsp;boolean&nbsp;setLogFilePath(java.lang.String&nbsp;filePath)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">As of TDLib 1.4.0 in favor of <a href="../../../../../org/drinkless/td/libcore/telegram/TdApi.SetLogStream.html" title="class in org.drinkless.td.libcore.telegram"><code>TdApi.SetLogStream</code></a>, to be removed in the future.</span></div>
<div class="block">Sets file path for writing TDLib internal log.
 By default TDLib writes logs to the Android Log.
 Use this method to write the log to a file instead.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>filePath</code> - Path to a file for writing TDLib internal log. Use an empty path to
                 switch back to logging to the Android Log.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>whether opening the log file succeeded</dd>
</dl>
</li>
</ul>
<a name="setLogMaxFileSize-long-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLogMaxFileSize</h4>
<pre>@Deprecated
public static&nbsp;void&nbsp;setLogMaxFileSize(long&nbsp;maxFileSize)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">As of TDLib 1.4.0 in favor of <a href="../../../../../org/drinkless/td/libcore/telegram/TdApi.SetLogStream.html" title="class in org.drinkless.td.libcore.telegram"><code>TdApi.SetLogStream</code></a>, to be removed in the future.</span></div>
<div class="block">Changes maximum size of TDLib log file.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>maxFileSize</code> - Maximum size of the file to where the internal TDLib log is written
                    before the file will be auto-rotated. Must be positive. Defaults to 10 MB.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if max_file_size is non-positive.</dd>
</dl>
</li>
</ul>
<a name="close--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>close</h4>
<pre>public&nbsp;void&nbsp;close()</pre>
<div class="block">Closes Client.</div>
</li>
</ul>
<a name="finalize--">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>finalize</h4>
<pre>protected&nbsp;void&nbsp;finalize()
                 throws java.lang.Throwable</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>finalize</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Throwable</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../org/drinkless/td/libcore/telegram/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Class</li>
<li><a href="../../../../../org/drinkless/td/libcore/telegram/Client.ExceptionHandler.html" title="interface in org.drinkless.td.libcore.telegram"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/drinkless/td/libcore/telegram/Client.html" target="_top">Frames</a></li>
<li><a href="Client.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
